package pages;

import core.TestBase;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.StaleElementReferenceException;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;

import java.io.IOException;
import java.util.Properties;

/**
 * Created with IntelliJ IDEA.
 * User: u
 * Date: 7/21/14
 * Time: 2:50 PM
 * To change this template use File | Settings | File Templates.
 */
public class GeneralPage extends TestBase{
    
    
    public String getPass(String passValue){
        Properties properties = new Properties();

        try {
            properties.load(GeneralPage.class.getResourceAsStream("/object.map.properties"));

        } catch (IOException e) {
            e.printStackTrace();
        }
        return properties.getProperty(passValue);
    }
}
